home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / Fashion_Recall.swf / scripts / DefineButton2_452 / BUTTONCONDACTION on(release, releaseOutside).as < prev    next >
Text File  |  2011-10-17  |  389b  |  16 lines

  1. on(release, releaseOutside){
  2.    if(_currentframe != 4)
  3.    {
  4.       gotoAndStop(4);
  5.       stopDrag();
  6.       _parent.dragitems._x = _parent.stx;
  7.       _parent.dragitems._y = _parent.sty;
  8.       if(_parent.dbelt.currentframe != 1)
  9.       {
  10.          _parent[_parent.item2name].gotoAndStop(1);
  11.       }
  12.       _parent.dbelt.gotoAndStop(_name);
  13.       _parent.item2name = _name;
  14.    }
  15. }
  16.